/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.cput.ac.principles.crp.crpfix.impl;

/**
 *
 * @author Ilyaas Khatib
 */
public class TempEmp extends Employee{

    @Override
    public int getHours() {
        return super.getHours();
    }

    @Override
    public double getRate() {
        return super.getRate();
    }

    @Override
    public double getSalary() {
        return super.getSalary();
    }

    @Override
    public void setHours(int hours) {
        super.setHours(hours);
    }

    @Override
    public void setRate(double rate) {
        super.setRate(rate);
    }

    @Override
    public void setSalary(double salary) {
        super.setSalary(salary);
    }

    @Override
    public double computeBonus() {
        this.setBonus(this.getSalary()*0.1);
        return this.getBonus();
    }
    
}
